package String;

public class Opinion {

	public static void main(String[] args) {
		// 判断字符串是否相等
		String s1 = new String("abc");
		String s2 = new String("ABC");
		String s3 = new String("abc");
		
		boolean b = s1.equals(s2);
		
		boolean b1 = s1.equalsIgnoreCase(s2);
		System.out.println(s1+" equals "+s2+": "+b);
		System.out.println(s1+" equalsignoreCase "+s2+": "+b1);

	}

}
